package org.nutz.stu.service;

import org.nutz.dao.Dao;
import org.nutz.dao.entity.Record;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.stu.dao.StudentDao;

/**
 * @Auther: xiaoyuan
 * @Date: 2019/1/30
 * @Description:
 */
@IocBean
public class StudentService {

    @Inject
    private StudentDao studentDao;

    public Record getStudentById(Integer id){
        return studentDao.getStudentById(id);
    }
}
